package com.hh.shiro.dao;

import java.util.Date;

import com.hh.shiro.entity.ShiroUser;

public class UserDao {

    public ShiroUser getUserByName(String name) {
        //mock user
       ShiroUser user = new ShiroUser();
        user.setCreateDate(new Date());
        user.setUsername("huanghua");
        user.setPassword("f1001d6a7d594b85848f68e4fbef4b2582ed012f");//111111
        user.setSalt("51ed35549f970195");
        return user;
    }

}
